package com.traffic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 用户学历信息对象 user_eduinformation
 * 
 * @author zzs
 * @date 2024-10-15
 */
public class UserEduinformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 学历 */
    @Excel(name = "学历")
    private String userEdu;

    /** 专业 */
    @Excel(name = "专业")
    private String userMajor;

    /** 毕业院校 */
    @Excel(name = "毕业院校")
    private String userCollege;

    /** 毕业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "毕业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date userGraduationDate;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserEdu(String userEdu) 
    {
        this.userEdu = userEdu;
    }

    public String getUserEdu() 
    {
        return userEdu;
    }
    public void setUserMajor(String userMajor) 
    {
        this.userMajor = userMajor;
    }

    public String getUserMajor() 
    {
        return userMajor;
    }
    public void setUserCollege(String userCollege) 
    {
        this.userCollege = userCollege;
    }

    public String getUserCollege() 
    {
        return userCollege;
    }
    public void setUserGraduationDate(Date userGraduationDate) 
    {
        this.userGraduationDate = userGraduationDate;
    }

    public Date getUserGraduationDate() 
    {
        return userGraduationDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userEdu", getUserEdu())
            .append("userMajor", getUserMajor())
            .append("userCollege", getUserCollege())
            .append("userGraduationDate", getUserGraduationDate())
            .toString();
    }
}
